function foo() {
	console.log(this.a);
}

var a = 2;

foo.call(null); // 2